<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        position: absolute;
        top: 50%;
        left: 50%;
        overflow: hidden;
        width: 300px;
        height: 150px;
        margin: -75px 0 0 -150px;
        border: 3px solid #eee;
        background: #e0e0e0;
      }
      span {
        opacity: 0;
        display: block;
        height: 50px;
        font: bold 14px/50px Georgia;
      }
      .a1 {
        -webkit-animation: flip-scale-up-ver 0.5s linear both;
        animation: flip-scale-up-ver 0.5s linear both;
      }
      /* ----------------------------------------------
 * Generated by Animista on 2022-6-14 11:28:16
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

      /**
 * ----------------------------------------
 * animation flip-scale-up-ver
 * ----------------------------------------
 */
      @-webkit-keyframes flip-scale-up-ver {
        0% {
          -webkit-transform: scale(1) rotateY(0);
          transform: scale(1) rotateY(0);
        }
        50% {
          -webkit-transform: scale(2.5) rotateY(90deg);
          transform: scale(2.5) rotateY(90deg);
        }
        100% {
          -webkit-transform: scale(1) rotateY(180deg);
          transform: scale(1) rotateY(180deg);
        }
      }
      @keyframes flip-scale-up-ver {
        0% {
          -webkit-transform: scale(1) rotateY(0);
          transform: scale(1) rotateY(0);
        }
        50% {
          -webkit-transform: scale(2.5) rotateY(90deg);
          transform: scale(2.5) rotateY(90deg);
        }
        100% {
          -webkit-transform: scale(1) rotateY(180deg);
          transform: scale(1) rotateY(180deg);
        }
      }
    </style>
  </head>
  <body>
    <div class="a1">
      <span>123321</span>
    </div>
  </body>
</html>
